package org.jsola.hr.query;

import org.jsola.core.query.BaseQuery;

import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author wxz
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AttendDepInfoTreeQuery extends BaseQuery {

    private static final long serialVersionUID = 1L;

    /** 考勤规则ID */
    @ApiParam(value = "考勤规则ID,新增考勤规则此参数为空，修改则不为空(必填)", example = "")
    private String attendPlanId;
    
    /** 查询类型;1-打卡人员,2-白名单,3-汇报对象 */
    @ApiParam(value = "查询类型;1-打卡人员,2-白名单,3-汇报对象", example = "")
    @NotNull(message = "查询类型不能为空")
    private Integer type;

    @ApiParam(value = "公司ID", example = "")
    @NotNull(message = "公司ID不能为空")
    private String companyId;
}
